<?php
	require '../config.php';
	require '../inc/require.php';	

	$attraction_id = $_GET['attraction_id'];
	
	$attraction = new Attraction();
	$attraction = $attraction->get($attraction_id);
	
	print_pre($attraction);
?>

<div id="attraction_img" class="sixcol"><img src="img/attractions/full/<?= $attraction->image ?>" alt="<?= $attraction->name ?>" /></div>
<div id="info">
<form class="sixcol last" name="plan_route" method="post" action="<?= URL ?>plattegrond">
<input type="hidden" name="attraction_lat" value="<?= $attraction->lat ?>" />
<input type="hidden" name="attraction_lng" value="<?= $attraction->lng ?>" />
<h1><?= $attraction->name ?></h1>
<hr>
<label>Wachtijd: </label><label><?= $attraction->waittime ?> minuten</label>
<hr>
<label>Minimum lengte: </label><label>168 cm</label>
<hr>
<label>Duur:</label> <label>4:45 minuten</label>
<hr>
<button type="submit" name="plan_route">Geef route</button>
</form>
<p id="omschrijving"><?= $attraction->description ?></p>
</div>